package com.yfqy.admin.domain.dto.auth;

import com.yfqy.admin.enums.LoginTypeEnum;
import lombok.Data;

import java.util.List;
import java.util.Map;

/**
 * @Author: 梁二东
 * @Date: 2025/5/9 13:06
 * @Description:
 **/
@Data
public class LoginUserInfoDTO {
    /**
     * username,sms,openid
     */
    private LoginTypeEnum loginType;

    private String sessionId;
    private String id;
    private String nickname;
    private String expiredTime;
    private List<Map<String, String>> authorities; // 临时用Map接收

    /**
     * 手机号
     */
    private String phone;

    /**
     * 微信openid
     */
    private String openid;

    /**
     * 微信unionid
     */
    private String unionid;

    /**
     * 注册来源ID
     */
    private Long regFromId;
}


